package cn.hnucm.orderservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 账单明细
 * </p>
 *
 * @author chenjintao
 * @since 2021-12-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbCapital对象", description="账单明细")
public class TbCapital implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账单id")
    @TableId(value = "capitalId", type = IdType.AUTO)
    private Integer capitalId;

    @ApiModelProperty(value = "转账发起者")
    @TableField("fromUserId")
    private Integer fromuserId;

    @ApiModelProperty(value = "转账接收者")
    @TableField("toUserId")
    private Integer touserId;

    @ApiModelProperty(value = "转账时间")
    @TableField("transferAccountsTime")
    private String transferAccountsTime;

    @ApiModelProperty(value = "转账金额")
    private Float amount;


}
